package com.member.shop.dto;

import com.member.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

@ApiModel("商品模板")
@Data
public class SzUserImportDto {

    @Excel(name = "店铺名", type = Excel.Type.IMPORT)
    @NotEmpty(message = "店铺名不能为空")
    private String shopName;


    @Excel(name = "联系电话", type = Excel.Type.IMPORT)
    @NotEmpty(message = "联系电话不能为空")
    private String phone;


    @Excel(name = "开户经理", type = Excel.Type.IMPORT)
    @NotEmpty(message = "开户经理不能为空")
    private String accountManager;


    @Excel(name = "一级区域", type = Excel.Type.IMPORT)
    @NotEmpty(message = "一级区域不能为空")
    private String area;


    @Excel(name = "二级区域", type = Excel.Type.IMPORT)
    @NotEmpty(message = "二级区域不能为空")
    private String street;

    @Excel(name = "收货地址", type = Excel.Type.IMPORT)
    @NotEmpty(message = "收货地址不能为空")
    private String address;

    @Excel(name = "联系人", type = Excel.Type.IMPORT)
    @NotNull(message = "联系人不能为空")
    private String contacts;
}
